#include <iostream>
#include <SFML\System.hpp>
#include <SFML\Window.hpp>
#include <SFML\Graphics.hpp>
#include "ImgMgr.h"
#include "Level.h"
#include "HUD.h"
#include "RessourceMgr.h"
#include "WorkerUnit.h"

class Game
{
public:
	Game();
	void init();
	void maj();
	void render();
	int random(int a, int b);


private:
	sf::RenderWindow m_app;
	sf::Event m_event;
	sf::View m_view;
	ImgMgr m_imageManager;
	Level m_level;
	HUD m_hud;
	RessourceMgr m_ressourceMgr;
	sf::Text m_textFocus;
	bool m_focus;
	sf::Font m_fontFocus;
};